Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

npm-run-all

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-run-all

A CLI tool to run multiple npm-scripts in parallel or sequential / serial.

  • 1.8.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.7M
increased by5.03%
Maintainers
1
Weekly downloads
 
Created

What is npm-run-all?

The npm-run-all package is a CLI tool to run multiple npm-scripts in parallel or sequential order. It is useful for orchestrating complex build processes and can be used to simplify scripts in the 'package.json' file of a Node.js project.

What are npm-run-all's main functionalities?

Run tasks sequentially

This command will run the 'clean' task first, then 'build:css', and finally 'build:js' in sequential order.

npm-run-all clean build:css build:js

Run tasks in parallel

This command will run all tasks that match the pattern 'watch:*' simultaneously.

npm-run-all --parallel watch:*

Run a mix of sequential and parallel tasks

This command will run the 'clean' task first, then all 'build:*' tasks in parallel, and finally all 'test:*' tasks in sequential order.

npm-run-all clean --parallel build:* --sequential test:*

Use with npm lifecycle events

This example shows how to use npm-run-all within the 'scripts' section of 'package.json' to run the 'serve' and 'watch' tasks in parallel when the 'start' script is invoked.

"scripts": { "start": "npm-run-all --parallel serve watch" }

Other packages similar to npm-run-all

Keywords

FAQs

Package last updated on 24 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc